package com.waves.chat.domain.dto.chat;

import com.waves.core.web.domain.dto.CursorPageBaseDTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Description:
 * Author: dlw
 * Date: 2024-07-17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessageReadDTO extends CursorPageBaseDTO {
    /**
     * 消息id
     */
    @NotNull
    private Long msgId;

    /**
     * 查询类型 1已读 2未读
     */
    @NotNull
    private Long searchType;
}
